* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: black;
}

#index {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.head {
    position: relative;
}


/* 轮播图 */

.lb {
    width: 100%;
    font-size: 0px;
    white-space: nowrap;
    overflow: hidden;
}

.lb img {
    width: 100%;
    position: relative;
    animation: imgLb 8s infinite;
}


/* 动画实现轮播效果 */

@keyframes imgLb {
    0% {
        left: 0;
    }
    33% {
        left: -100%;
    }
    66% {
        left: -200%;
    }
    100% {
        left: -300%;
    }
}


/* 圆点 */

.ruod {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%);
}

.ruod span {
    display: inline-block;
    border: 6px solid white;
    border-radius: 6px;
}

.ruod span:first-child {
    animation: rdgl1 8s infinite;
}

.ruod span:nth-child(2) {
    animation: rdgl2 8s infinite;
}

.ruod span:last-child {
    animation: rdgl3 8s infinite;
}

@keyframes rdgl1 {
    0% {
        border-color: blue;
    }
    33% {
        border-color: white;
    }
    66% {
        border-color: white;
    }
    100% {
        border-color: blue;
    }
}

@keyframes rdgl2 {
    0% {
        border-color: white;
    }
    33% {
        border-color: black;
    }
    66% {
        border-color: white;
    }
    100% {
        border-color: white;
    }
}

@keyframes rdgl3 {
    0% {
        border-color: white;
    }
    33% {
        border-color: white;
    }
    66% {
        border-color: black;
    }
    100% {
        border-color: white;
    }
}

.nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin: 20px auto;
}

.nav a {
    display: flex;
    width: 25%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.nav .box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.nav .box div {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav .box img {
    width: 45px;
}

.tuijian {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}

.tuijian .tj {
    width: 40%;
    margin: 5%;
    position: relative;
    border-radius: 5%;
    height: 100%;
    display: flex;
    min-height: 100px;
    min-width: 75px;
}

.tuijian .tj span {
    position: absolute;
    right: 1px;
    color: #fff;
    top: 6px;
    font-size: 10px;
    padding: 2px;
    background: rgb(255, 81, 0);
}

.tuijian .tj .box {
    display: flex;
    width: 100%;
    height: 90%;
    align-self: center;
    justify-content: space-evenly;
    align-items: center;
}

.tuijian .tj .box div p:nth-child(1) {
    color: black;
    font-size: 14px;
}

.tuijian .tj .box div p:nth-child(2) {
    color: #999;
    font-size: 10px;
    margin-top: 5px;
}

.tuijian .tj .box div p:nth-child(3) {
    color: #fff;
    font-size: 12px;
    background: #d92c01;
    padding: 5px;
    border-radius: 3px;
}

.tuijian .tj .box img {
    width: 70px;
    height: 70px;
}

.tuijian .tj:nth-child(1) {
    background: linear-gradient(to top right, gray, #fff, pink)
}

.tuijian .tj:nth-child(2) {
    background: linear-gradient(to top right, pink, #fff, rgba(236, 22, 201, 0.815))
}

.youhui {
    width: 90%;
    display: flex;
    margin: 0 auto;
    border-radius: 5px;
    background: #d85407;
    color: #fff;
    font-size: 14px;
}

.youhui a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: #fff;
}

.youhui img {
    width: 18px;
    margin: 5px;
}

.youhui p {
    display: flex;
    align-items: center;
}

.youhui span {
    margin: 0 5px;
}

.qiehuan {
    display: flex;
    width: 100%;
    color: #797d82;
    font-size: 14px;
    border-bottom: 1px solid #797d82;
}

.qiehuan img {
    width: 8px;
}

.qiehuan ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10%;
    height: 44px;
}

.qiehuan ul li {
    display: flex;
    align-items: center;
}

.qiehuan ul li div {
    width: 9px;
    height: 18px;
    padding: 0;
    font-size: 0;
    margin-left: 5px;
}

#shop {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
    box-sizing: border-box;
}

#shop ul {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#shop ul a {
    width: 45%;
    margin: 10px 0;
    color: #c8c9cc;
}

#shop ul a li img {
    width: 100%;
    background: #c8c9cc;
    object-fit: cover;
}

#shop ul a li .s1 {
    font-size: 14px;
    margin-top: 5px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#shop ul a li .s2 {
    font-size: 12px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#shop ul a li .num {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

#shop ul a li .num .n1 {
    font-size: 12px;
    color: #c03131;
}

#shop ul a li .num .num1 {
    color: #c03131;
    font-size: 15px;
}

#shop ul a li .num .n2 {
    font-size: 12px;
    color: #999999;
}

#shop ul a li .num .num2 {
    font-size: 14px;
    color: #999999;
}

#foot-nav {
    width: 100%;
    height: 50px;
    position: fixed;
    bottom: 0;
    border-top: 1px solid #999999;
    background: white;
}

#foot-nav .f-n {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#foot-nav .f-n li {
    font-size: 12px;
    text-align: center;
    color: #999999;
}

#foot-nav .f-n .show a {
    color: #d92c01;
}

#sl {
    position: absolute;
    width: 15px;
    height: 15px;
    right: 39%;
    top: 0;
    border-radius: 50%;
    text-align: center;
    color: white;
    background: #b91717;
}